<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script>
        (function () {
            var log = console.log
            window.console.log = function () {
                log('frame outside', ...arguments)
            }
        })()
    </script>
</head>

<body>
    <iframe src="./frame.html" width="100%" height="200" frameborder="0" allowfullscreen>
        <p>
            <a href="./frame.html">
                Fallback link for browsers that don't support iframes
            </a>
        </p>
    </iframe>
</body>

</html>